package org.example.payment.service;

import org.example.common.Response;
import org.example.payment.entity.vo.WechatPayVO;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

public interface IWechatPayService {

    /**
     * H5支付
     * @param wechatPayVO
     * @return
     */
    String h5Pay(WechatPayVO wechatPayVO);

    /**
     * 微信支付回调
     * @param requestBody
     * @param serial_number
     * @param nonce
     * @param signature
     * @param timestamp
     * @return
     */
    Response<String> handleNotify(String requestBody, String serial_number, String nonce, String signature, String timestamp);

}
